$(function () {
	$('#logout-btn').click(function () {
		layer.confirm('那我走?', { icon: 5, title: '提示' }, function (index) {
			//do something
			localStorage.removeItem('token');

			location.href = './login.html';

			layer.close(index);
		});
	});
});
